﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WMS.Domain
{
    /// <summary>
    /// 库位信息
    /// </summary>
    public class StoragelocationInfo: Audit
    {
        /// <summary>
        /// 库位编号
        /// </summary>
        [Key]
        public int StoragelocationId { get; set; }

        /// <summary>
        /// 库位编码（格式：KWBH+4位随机数，如：KWBH1234）
        /// </summary>
        public string StoragelocationCode { get; set; }
        /// <summary>
        /// 库位名称
        /// </summary>
        public string StoragelocationName { get; set; }
        /// <summary>
        /// 库位容量
        /// </summary>
        public string StoragelocationCapacity { get; set; }
        /// <summary>
        /// 库位状态
        /// 1.启用
        /// 2.禁用
        /// </summary>
        public int StoragelocationState { get; set;}
        /// <summary>
        /// 库位内容
        /// </summary>
        public string StoragelocationContent { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int StoragelocationScore { get; set;}
        
        /// <summary>
        /// 主管编号（外键关联 WarehouseSupervisor 表）
        /// </summary>
        public int SupervisorId { get; set; }
    }
}
